package com.jeecms.wicool.entity.car.base;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Set;

import com.jeecms.wicool.entity.car.CarBrand;
import com.jeecms.wicool.entity.car.CarImg2;
import com.jeecms.wicool.entity.car.CarSeries;
import com.jeecms.wicool.entity.car.CarType;
import com.jeecms.wicool.entity.shops.ShopInfo;


public abstract class AbstractUsedCar implements java.io.Serializable {

	// Fields

	private Integer id;
	private ShopInfo shop;
	private String title;
	private CarBrand carBrand;
	private CarSeries carSeries;
	private CarType carType;
	private String otherCarType;
	private String imgUrl;
	private String address;
	private Integer mileage;
	private BigDecimal price;
	private Short transOwner;
	private BigDecimal ori_price;
	private String gearbox;
	private String output;
	private String registDate;
	private String insuranceExp;
	private String motExp;
	private String carSource;
	private String maintain;
	private String opertional;
	private String sellerDesc;
	private Timestamp createTime;
	private Timestamp updateTime;
	private String linkPerson;
	private String linkMobile;
	
	private Set<CarImg2> carImgs;
	
	// Constructors

	/** default constructor */
	public AbstractUsedCar() {
	}


	public AbstractUsedCar(Integer id, ShopInfo shop, String title,
			CarBrand carBrand, CarSeries carSeries, CarType carType,String otherCarType,
			String imgUrl, String address, Integer mileage, BigDecimal price,
			Short transOwner, BigDecimal oriPrice, String gearbox,
			String output, String registDate, String insuranceExp,
			String motExp, String carSource, String maintain,
			String opertional, String sellerDesc, Timestamp createTime,
			Timestamp updateTime,String linkPerson,String linkMobile, Set<CarImg2> carImgs) {
		super();
		this.id = id;
		this.shop = shop;
		this.title = title;
		this.carBrand = carBrand;
		this.carSeries = carSeries;
		this.carType = carType;
		this.otherCarType=otherCarType;
		this.imgUrl = imgUrl;
		this.address = address;
		this.mileage = mileage;
		this.price = price;
		this.transOwner = transOwner;
		ori_price = oriPrice;
		this.gearbox = gearbox;
		this.output = output;
		this.registDate = registDate;
		this.insuranceExp = insuranceExp;
		this.motExp = motExp;
		this.carSource = carSource;
		this.maintain = maintain;
		this.opertional = opertional;
		this.sellerDesc = sellerDesc;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.linkPerson=linkPerson;
		this.linkMobile=linkMobile;
		this.setCarImgs(carImgs);
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public CarBrand getCarBrand() {
		return carBrand;
	}


	public void setCarBrand(CarBrand carBrand) {
		this.carBrand = carBrand;
	}


	public CarSeries getCarSeries() {
		return carSeries;
	}


	public void setCarSeries(CarSeries carSeries) {
		this.carSeries = carSeries;
	}


	public CarType getCarType() {
		return carType;
	}


	public void setCarType(CarType carType) {
		this.carType = carType;
	}


	public String getImgUrl() {
		return imgUrl;
	}


	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}


	public String getAddress() {
		return address;
	}


	public void setAddress(String address) {
		this.address = address;
	}


	public Integer getMileage() {
		return mileage;
	}


	public void setMileage(Integer mileage) {
		this.mileage = mileage;
	}


	public BigDecimal getPrice() {
		return price;
	}


	public void setPrice(BigDecimal price) {
		this.price = price;
	}


	public Short getTransOwner() {
		return transOwner;
	}


	public void setTransOwner(Short transOwner) {
		this.transOwner = transOwner;
	}


	public BigDecimal getOri_price() {
		return ori_price;
	}


	public void setOri_price(BigDecimal oriPrice) {
		ori_price = oriPrice;
	}


	public String getGearbox() {
		return gearbox;
	}


	public void setGearbox(String gearbox) {
		this.gearbox = gearbox;
	}


	public String getOutput() {
		return output;
	}


	public void setOutput(String output) {
		this.output = output;
	}


	public String getRegistDate() {
		return registDate;
	}


	public void setRegistDate(String registDate) {
		this.registDate = registDate;
	}


	public String getInsuranceExp() {
		return insuranceExp;
	}


	public void setInsuranceExp(String insuranceExp) {
		this.insuranceExp = insuranceExp;
	}


	public String getMotExp() {
		return motExp;
	}


	public void setMotExp(String motExp) {
		this.motExp = motExp;
	}


	public String getCarSource() {
		return carSource;
	}


	public void setCarSource(String carSource) {
		this.carSource = carSource;
	}


	public String getMaintain() {
		return maintain;
	}


	public void setMaintain(String maintain) {
		this.maintain = maintain;
	}


	public String getOpertional() {
		return opertional;
	}


	public void setOpertional(String opertional) {
		this.opertional = opertional;
	}


	public String getSellerDesc() {
		return sellerDesc;
	}


	public void setSellerDesc(String sellerDesc) {
		this.sellerDesc = sellerDesc;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}


	public void setCarImgs(Set<CarImg2> carImgs) {
		this.carImgs = carImgs;
	}


	public Set<CarImg2> getCarImgs() {
		return carImgs;
	}


	public void setOtherCarType(String otherCarType) {
		this.otherCarType = otherCarType;
	}


	public String getOtherCarType() {
		return otherCarType;
	}


	public String getLinkPerson() {
		return linkPerson;
	}


	public void setLinkPerson(String linkPerson) {
		this.linkPerson = linkPerson;
	}


	public String getLinkMobile() {
		return linkMobile;
	}


	public void setLinkMobile(String linkMobile) {
		this.linkMobile = linkMobile;
	}

}